package dao;

import bean.merch;
import bean.wareHouse;
import com.github.pagehelper.PageInfo;

import java.util.Date;
import java.util.List;

public interface merchDao {
    int merchAdd(int merchType, String merchName, Date merchDate,double merchPrice);
    int merchUpdate(int merchId,int merchType, String merchName, Date merchDate,double merchPrice);
    int merchDel(int merchId);
    /*查询仓库的抽象方法*/
    public PageInfo meList(int page, int size);
    /*查询一个仓库的抽象方法*/
    merch merchSingal(int merchId);
    public PageInfo merchOne(String merchname);
    List<merch> merchList();
}
